package com.gg.bananvideo.util;

import com.google.gson.Gson;

/**
 * @author sakura
 * @since 2024/12/17
 */
public class JsonUtil {


    public static <T> T toBean(String jsonString, Class<T> beanClass) {
        Gson gson = new Gson();
        return gson.fromJson(jsonString, beanClass);
    }
}
